import Vue from 'vue'
import Vuex from 'vuex'
import VueBarcode from '@xkeshi/vue-barcode'; //导入条形码插件
Vue.component('barcode', VueBarcode);
Vue.use(Vuex)

export default new Vuex.Store({
  state: {
    count: 0
  },
  mutations: {
    saveCount(state, count) {
      state.count = count;
    }
  },
  actions: {
  },
  modules: {
  }
})
